function checkChild(){ // 点击导航
	var nav_t = document.getElementsByClassName('nav_t');
	var nav_list = document.getElementsByClassName('nav_list');
	var lihunpart = document.getElementsByClassName('lihunpart')[0]
	for (var i=0;i<nav_t.length;i++){
		nav_t[i].index = i;
		nav_t[i].onclick = function () {
			for (var j = 0;j<nav_list.length;j++){
				
				nav_list[j].style.display = "none"
			}
			// this.className = "active_nav";
			nav_list[this.index].style.display = "block"
			lihunpart.style.display = "block"
		}
	}
}

function selectRemen(){// 搜索热门
	var nav_list = document.getElementsByClassName('nav_list');
	var lihunpart = document.getElementsByClassName('lihunpart')[0]
	for(var i=0;i<nav_list.length;i++){
		nav_list[i].style.display = "none"
	}
	lihunpart.style.display = "none"
}
// function gomin(e){
// 	window.location.href = "knowledgemin.html"
// }
function goSearchPage(){
	window.location.href = "/msearch"
}
function searchAction(){
	window.location.href = "/msearch"
}
function gohome(){
	// window.history.back()
	window.location.href = "/"
}
function gohome2(){
	window.history.back()
	// window.location.href = "/"
}
